package com.office.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TLoginlog {

  private long id;
  private String ip;
  private String no;
  private String createtime;
  private String location;

  @Override
  public String toString() {
    return "TLoginlog{" +
            "id=" + id +
            ", ip='" + ip + '\'' +
            ", no='" + no + '\'' +
            ", createtime='" + createtime + '\'' +
            ", location='" + location + '\'' +
            '}';
  }

  public TLoginlog(String ip, String no, String location) {
    this.ip = ip;
    this.no = no;
    this.location = location;
  }
}
